﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/TakeoutExpress.Standard.Master" AutoEventWireup="true" CodeBehind="SiteAudiences.aspx.cs" Inherits="TakeoutExpress2008.Web.MVC.SiteAdmin.SiteAudiences" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphLeftContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphMainContent" runat="server">
    <div class="SubHeader">Site Admin</div><div class="SubHeaderAdmin"><asp:LinkButton runat="server" ID="lnkAddNewSiteAudience">Add New Audience</asp:LinkButton></div>
   <div class="Normal">
    <asp:GridView runat="server" ID="gvSiteAudiences" CellPadding="4" 
        ForeColor="#333333" GridLines="None" AutoGenerateColumns="false">
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#EFF3FB" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:TemplateField HeaderText="Audience Name" ItemStyle-Width="75%">
                <ItemTemplate><asp:Label runat="server" ID="lblSiteAudienceName" Text='<%# Bind("Name") %>'></asp:Label></ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ButtonType="Link" ShowEditButton="true" ShowDeleteButton="true" />
        </Columns>
    </asp:GridView>
    </div>
</asp:Content>
